package com.cz.run.beans.vo.product;

import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * @Description: TODO()
 * @auther:CAIYJ
 * @Date:2018/5/27 21:26
 */
@ApiModel
public class ProductVO {

    @ApiModelProperty(value = "商品ID", example = "商品ID")
    private Integer id;
    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称", example = "商品名称")
    private String name;
    /**
     * 商品价格
     */
    @ApiModelProperty(value = "商品价格", example = "商品价格")
    private BigDecimal price;
    /**
     * 库存量
     */
    @ApiModelProperty(value = "库存量", example = "库存量")
    private Integer stock;
    /**
     * 警告库存
     */
    @ApiModelProperty(value = "警告库存", example = "警告库存")
    private Integer warningStock;

    @ApiModelProperty(value = "积分", example = "积分")
    private Double integral;
    /**
     * 商品图片
     */
    @ApiModelProperty(value = "商品图片", example = "商品图片")
    private String pictureUrl;
    /**
     * 商品详情
     */
    @ApiModelProperty(value = "商品详情", example = "商品详情")
    private String content;
    /**
     * 0：预售；1：下架；2：上家
     */
    @ApiModelProperty(value = "0：预售；1：下架；2：上家", example = "0：预售；1：下架；2：上家")
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getWarningStock() {
        return warningStock;
    }

    public void setWarningStock(Integer warningStock) {
        this.warningStock = warningStock;
    }

    public Double getIntegral() {
        return integral;
    }

    public void setIntegral(Double integral) {
        this.integral = integral;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
